#-*-encoding=utf-8-*-
name=u'nw_prj'
title=u'New project form'
description=u'Add a new project form request'
displayed_columns=['ipde','categories','command', 'manager', 'project_name']
facetag = u""""""
fields=(
    TextLineField(
        title=u'SZN Order',
        size=18,
        default_value_exp=u'""',
        name=u'szn_order'
),
    TextLineField(
        title=u'IPDE',
        size=18,
        default_value_exp=u'""',
        name=u'ipde'
),
    SingleSelectField(
        title=u'Categories',
        vocabulary_exp=u"IFieldStorage(parentcontainer)['project_categories']",
        limit=0,
        default_value_exp=u'""',
        name=u'categories'
),
    TextLineField(
        title=u'Command',
        size=18,
        default_value_exp=u'""',
        name=u'command'
),
    PersonSelectField(
        title=u'Manager',
        multiple_selection=False,
        selectable_object='persononly',
        default_value_exp=u'request.principal.id',
        name=u'manager'
),
    TextLineField(
        title=u'Project name',
        size=18,
        default_value_exp=u'""',
        name=u'project_name'
),
    TextLineField(
        title=u'Title',
        size=18,
        default_value_exp=u'""',
        name=u'title'
),)

fields_validation_script=ur""""""
